/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package daos.interfaces;
import beans.Categoria;
import beans.Producto;
import java.sql.SQLException;
import java.util.List;
/**
 *
 * @author curso
 */
public interface CategoriaDAO extends DAO{
     public int insertar(Categoria p)throws SQLException;
    public List<Categoria> verCategorias()throws SQLException;
    public List<Producto> verCategoria(String nombre)throws SQLException;
    public int borrar(int id)throws SQLException;
    public int actualizar(Categoria p)throws SQLException;
    
}
